package cn.itsource.pojo.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotEmpty;

/**
 * @program fccar
 * @Author luoc
 * @Date 2024/09/07 0:32
 * @Version 1.0.0
 * @Description
 */

@Data
public class LoginDto {

    @NotEmpty(message = "参数异常")
    private String code;
    @Range(min = 0, max = 2)
    private Integer type;
}
